//
//  DDAnswerStat.m
//  dingdang
//
//  Created by 阮 沧晖 on 15/7/19.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import "DDAnswerStat.h"

@implementation DDAnswerExplanation

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}

@end

@implementation DDAnswerQuestionOptionsContent

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}

@end


@implementation DDAnswerQuestionOptions

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"content" : @"content",
                                                      @"currect" : @"currect",
                                                      @"id" : @"id",
                                                      @"label" : @"label"
//                                                      @"orderIndex" : @"orderIndex",
//                                                      @"score" : @"score",
//                                                      @"seconds" : @"seconds",
//                                                      @"subjective" : @"subjective",
//                                                      @"tip" : @"tip",
//                                                      @"type" : @"type",
//                                                      @"typeName" : @"typeName",
//                                                      @"uid" : @"uid"
                                                      }];
}

@end




@implementation DDAnswerBody

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}

@end

@implementation DDAnswerQuestion

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"answer" : @"answer",
                                                      @"arrangment" : @"arrangment",
                                                      @"body" : @"body",
                                                      @"course" : @"course",
                                                      @"courseName" : @"courseName",
                                                      @"createTime" : @"createTime",
                                                      @"explanation" : @"explanation",
                                                      @"id" : @"id",
                                                      @"emptyOption" : @"emptyOption",
                                                      @"options" : @"options"
                                                      }];
}
@end


@implementation DDAnswerStatOption
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"title" : @"title",
                                                      @"total" : @"total"
                                                      }];
}
@end

@implementation DDAnswerStatResult
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"title" : @"title",
                                                      @"total" : @"total"
                                                      }];
}
@end

@implementation DDAnswerStatInfo
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"qid" : @"qid",
                                                      @"answerTotal" : @"answerTotal",
                                                      @"notAnswerTotal" : @"notAnswerTotal",
                                                      @"question" : @"question",
                                                      @"result" : @"result",
                                                      @"option" : @"option"
                                                      }];
}
@end

@implementation DDAnswerStat
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"data" : @"data"
                                                      }];
}
@end
